<template>
  <div class="app_container">
    <router-view />
  </div>
</template>

<script setup lang="ts">
import useUserStore from "./store/user";

const userStore = useUserStore();

userStore.fetchUserAuthRoutes();
</script>

<style>
#nprogress .bar {
  background-color: #3f8cff !important;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.fade-slide-enter-active {
  animation: fade-slide 0.5s reverse;
}
.fade-slide-leave-active {
  animation: fade-slide 0.5s;
}

@keyframes fade-slide {
  0% {
    transform: translateY(0px);
    opacity: 1;
  }
  100% {
    transform: translateY(-16px);
    opacity: 0;
  }
}
</style>
